<!DOCTYPE html>
<html lang="en">
<head>
    <title>财务资金</title>
</head>
<body>
<div class="page-container">
    <div class="page-content">
        <div class="container">
            <div class="page-bar" style="background-color: #fff;margin-bottom: 5px;margin-top: 10px;">
                <ul class="page-breadcrumb">
                    <li>
                        <i class="glyphicon glyphicon-cog"></i>
                        <span>公司账目总金额</span>
                    </li>
                </ul>
            </div>
            <div class="row">
                <div class="col-md-12">
                    <div class="portlet light bordered">
                        <div class="dashboard-stat2">
                            <div class="display">
                                <div class="number">
                                    <h3 class="font-green-sharp">${fundInfo.money}.00<small class="font-green-sharp">￥</small></h3>
                                    <small>剩余可用资金总额（除去项目预算）</small>
                                </div>
                                <div class="icon">
                                    <button class="btn green btn-circle" onclick="addFund()">
                                        <a class="fa fa-plus" style="text-decoration:none;color: #FFFFFF"> 账户金额增加</a>
                                    </button>
                                </div>
                            </div>
                            <div class="progress-info">
                                <div id="perCss" class="progress">
                                </div>
                                <div class="status">
                                    <div class="status-title">
                                        占公司历史融资比
                                    </div>
                                    <div id="percent" class="status-number">
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-md-12">
                    <div class="portlet light bordered">
                        <div class="portlet-title">
                            <div class="caption">
                              <span class="caption-subject font-green-sharp bold uppercase">
                              <i class="fa fa-gift"></i>公司资金变动历史
                              </span>
                            </div>
                            <div class="actions btn-set text-right">
                                <button class="btn yellow btn-circle"
                                        onclick="changeOP(1)">
                                    <a class="fa fa-search" style="text-decoration:none;color: #FFFFFF">只看进账</a>
                                </button>
                                <button class="btn yellow btn-circle"
                                        onclick="changeOP(2)">
                                    <a class="fa fa-search" style="text-decoration:none;color: #FFFFFF">只看支出</a>
                                </button>
                                <button class="btn yellow btn-circle"
                                        onclick="changeOP('')">
                                    <a class="fa fa-search" style="text-decoration:none;color: #FFFFFF">查看全部</a>
                                </button>
                        </div>
                        </div>
                        <div class="portlet-body">
                            <table id="updItemTable"
                                   class="table table-striped table-bordered table-hover"
                                   data-toggle="table"
                                   data-method="post"
                                   data-content-type="application/x-www-form-urlencoded"
                                   data-query-params="queryParams"
                                   data-query-params-type="limit"
                                   data-select-item-name="btSelectItem"
                                   data-side-pagination="server"
                                   data-search-align="left"
                                   data-undefined-text="-"<#--默认无数据显示-->
                                   data-click-to-select="true"<#--点击选中-->
                                   data-pagination="true"
                                   data-striped="true" <#--显示行间隔色-->
                                   data-page-number="1"<#--第几页-->
                                   data-page-size="5"<#--每页数据条数-->
                                   data-page-list="[5,10, 25, 50, 100]"
                            >
                                <thead>
                                <tr>
                                    <th data-field="item_id">变动明细编号</th>
                                    <th data-field="item_name">变动名</th>
                                    <th data-field="money">金额</th>
                                    <th data-field="operation" >变动类型</th>
                                    <th data-field="op_time" data-formatter="dateTimeFormatter">变动时间</th>
                                </tr>
                                </thead>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<input id="money" value="${fundInfo.money}" class="hidden"/>
<input id="fundInSum" value="${fundInfo.fundInSum}" class="hidden"/>
<input id="op" value="" class="hidden"/>
<script src="${basePath}/static/module/moneyManage/fundManage.js${jsResourceVersion}"></script>
</body>
</html>